package lk.icta.common.dao;

import lk.icta.common.entity.Province;
import lk.icta.user.entity.User;

import java.util.List;
import java.util.Map;

/**
 * @author Duminda Dharmakeerthi
 * @author Supun Viraj Rathnayaka
 */
public interface ProvinceDAO {
    /**
     * Add a province
     *
     * @param province
     */
    public void addProvince(Province province);

    /**
     * Get Province by province id
     *
     * @param provinceId
     * @return
     */
    public Province getProvinceById(int provinceId);

    /**
     * Update a Province
     *
     * @param province
     */
    public void updateProvince(Province province);


    public List<Province> getAllProvinceNames();

    public Map<Integer,String> getProvinceList(String language);
}